Name | Description | |
---|---|---|
ListBase<T> Constructor | Overloaded. |
The following tables list the members exposed by ListBase<T>.
Name | Description | |
---|---|---|
ListBase<T> Constructor | Overloaded. |
Name | Description | |
---|---|---|
Capacity | Gets or sets the total number of elements the internal data structure can hold without resizing. | |
Count | Gets the number of elements actually contained in the ListBase<T>. | |
Item | Gets or sets the element at the specified index. |
Name | Description | |
---|---|---|
Add | Adds an object to the end of the ListBase<T>. | |
AddRange | Adds the elements of the specified collection to the end of the ListBase<T>. | |
BinarySearch | Overloaded. Searches the entire sorted ListBase<T> for an element using the default comparer and returns the zero-based index of the element. | |
Clear | Removes all elements from the ListBase<T>. | |
Contains | Determines whether the ListBase<T> contains a specific value. | |
CopyTo | Overloaded. Copies the entire ListBase<T> to a compatible one-dimensional array, starting at the beginning of the target array. | |
GetEnumerator | ||
IndexOf | Overloaded. Determines the index of a specific item in the ListBase<T>. | |
Insert | Inserts an item to the ListBase<T> at the specified index. | |
InsertRange | Inserts the elements of a collection into the ListBase<T> at the specified index. | |
LastIndexOf | Overloaded. Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the ListBase<T> that contains the specified number of elements and ends at the specified index. | |
Remove | Removes the first occurrence of a specific object from the ListBase<T>. | |
RemoveAt | Removes the ListBase<T> item at the specified index. | |
RemoveRange | Removes a range of elements from the ListBase<T>. | |
Reverse | Overloaded. Reverses the order of the elements in the entire ListBase<T>. | |
Sort | Overloaded. Sorts the elements in the entire ListBase<T> using the default comparer. | |
ToArray | Copies the elements of the ListBase<T> to a new array. | |
TrimExcess | Sets the capacity to the actual number of elements in the ListBase<T>, if that number is less than a threshold value. |
Name | Description | |
---|---|---|
OnListChanged |
Name | Description | |
---|---|---|
ListChanged | Occurs when the list or an item in the list changes. |